import proFetch from "../../../../../../public/functions/project-fetch";


export default function wpsPreStatus(payload) {
    return new Promise( ((resolve, reject) => {
        proFetch({
            url: '/nccloud/hrpub/rptdef/PreAction.do',
            body: payload,
        })
            .then((res) => {
                if (res.success) {
                    resolve(res)
                }
            });
        })
    );
}